package com.ydkj.a37e_mall.Classes.Model.Request;

import android.util.Log;

import com.ydkj.a37e_mall.Classes.Model.Base.BaseReq;
import com.ydkj.a37e_mall.Resource.Utils.Rsa;

/**
 * Created by Administrator on 2017/2/9.
 */

public class ActivitytypeReq extends BaseReq {
    private String time;
    private String secret;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String urlString() {
        return "activity/activity_types";
    }

    public String getSecret() {
        String string = "time=" + time;
        try {
            Rsa rsa = new Rsa();
            secret = rsa.encryptByPublic(string);
        } catch (Exception e) {
            e.printStackTrace();
        }
        Log.e("ssss", "首页3个活动_source===>" + string);
        return secret;
    }
}
